import {instance} from '@/utils/request'
import {login} from '@/types/reqtypes'
//登录
export function Login(params: login){
    return instance.post("/Login",
        params
    ).then(data => [true, data])
    .catch(err => [false,err])
}

